#ifndef ATTITUDEPANEL_H
#define ATTITUDEPANEL_H

#include<QWidget>
class AttitudePanel : public QWidget
{
public:
    AttitudePanel(QWidget* parent);
    void setAttitudeValue(float pitch,float roll);
protected:
    void paintEvent(QPaintEvent *);
    void drawBackPanel(QPainter *painter);
    void drawRefer(QPainter *painter);
    void drawRollLines(QPainter *painter);
private:
    float pitch;
    float roll;
};

#endif // ATTITUDEPANEL_H
